﻿using System;

    class FirTree
    {
        static void Main()
        {
            int N = int.Parse(Console.ReadLine());
            int lastrow=N-1;
            int fat = N;
            for (int counter = 0; counter < N - 1; counter++)
            {
                for (int counter1 = 0; counter1 < fat - 2; counter1++)
                {
                    Console.Write(".");
                }
                for (int counter1 = fat; counter1 <= N; counter1++)
                {
                    Console.Write("*");
                }
                for (int counter1 = fat; counter1 < N; counter1++)
                {
                    Console.Write("*");
                }
                for (int counter1 = 0; counter1 < fat - 2; counter1++)
                {
                    Console.Write(".");
                }
                Console.WriteLine();
                fat--;
            }
            for (int counter = 0; counter < (lastrow * 2) -1; counter++)
            {
                if (counter != lastrow-1)
                    Console.Write(".");
                else
                    Console.Write("*");
            }
            Console.WriteLine();
        }
    }

